package com.ming.mallchat.common.user.domain.vo.req.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Data
public class ModifyNameReq {

    @ApiModelProperty(value = "用户名修改")
    @NotBlank
    @Length(max = 6,message = "用户名不能超过六位哦")
    private String name;

}
